package com.example.fruitdb.entity.vo;

/**
 * 与客户端浏览器交换的数据模型对象
 * 状态码
 *      1成功 0失败
 * 提示信息
 *      String
 * 回显数据
 *      Object
 */
public class MessageModel
{
    private Integer code=1;
    private String msg="成功";
    private Object object;

    public Integer getCode()
    {
        return this.code;
    }

    public void setCode(Integer code)
    {
        this.code = code;
    }

    public String getMsg()
    {
        return this.msg;
    }

    public void setMsg(String msg)
    {
        this.msg = msg;
    }

    public Object getObject()
    {
        return this.object;
    }

    public void setObject(Object object)
    {
        this.object = object;
    }
}
